from django.urls import path, re_path
from oauth import views
urlpatterns = [
    path('oauth/', views.Oauth.as_view()),  # 前端获取扫码地址
    path('oauth/weibo/', views.OauthCallBackAPIView.as_view()),  # 前端发送code给后端
    path('oauth/bind/', views.OauthBind.as_view())  # 前端发送code给后端
]
